package com.example.whrdemospringboot.service;

import com.example.whrdemospringboot.DTO.StudentDTO;
import com.example.whrdemospringboot.dao.Student;

public interface StudentService {

    public StudentDTO getStudentById(Long id);

    Long addStudent(StudentDTO studentDTO);

    void deleteStudentById(Long id);

    StudentDTO updataStudentById(Long id, String name, String email);
}
